﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebNetCorePhoneErp.Model;

namespace WebNetCorePhoneErp.IBLL
{
    /// <summary>
    /// 商品.业务逻辑
    /// </summary>
    /// <remarks>
    /// 作者：王浩力
    /// 创建时间：2021-6-11 17:46:52
    /// </remarks>
    public interface IGoodsBusiness
    {
        /// <summary>
        /// 新增商品
        /// </summary>
        /// <param name="g_Good"></param>
        ///  <param name="userView">登录用户信息</param>
        /// <returns></returns>
        Task<Result> AddGoodsAsync(G_good g_Good, UserView userView);

        /// <summary>
        /// 修改商品信息
        /// </summary>
        /// <param name="g_Good"></param>
        /// <param name="userView"></param>
        /// <returns></returns>
        Task<Result> UpdateGoodsAsync(G_good g_Good, UserView userView);


    }
}
